export const optionsToMap = (options: any[]) => {
  const map: any = {};
  options.forEach((item: any) => {
    map[item.value] = item.label;
  });
  return map;
};